package com.lzy.cloud;


import org.springframework.boot.Banner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

@EnableConfigServer
@SpringBootApplication
@EnableDiscoveryClient //整合eureka，实现config server高可用,将config-server作为服务注册
public class LzyCloudConfigServerApplication {
	public static void main(String[] args) {
		new SpringApplicationBuilder(LzyCloudConfigServerApplication.class).bannerMode(Banner.Mode.LOG).run(args);
	}
}
